package com.ruoyi.tbm.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 盾构机配件对象 tbm_equipment
 * 
 * @author ruoyi
 * @date 2022-07-13
 */
public class TbmEquipment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Integer id;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 型号 */
    @Excel(name = "型号")
    private String type;

    /** 规格 */
    @Excel(name = "规格")
    private String specifications;

    /** 单价 */
    @Excel(name = "单价")
    private BigDecimal price;

    /** 生产地 */
    @Excel(name = "生产地")
    private String place;

    /** 生产商 */
    @Excel(name = "生产商")
    private String manufacturer;

    /** 生产商id */
    @Excel(name = "生产商id")
    private Integer manufacturerId;

    /** 详细说明 */
    @Excel(name = "详细说明")
    private String details;

    /** 修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date modifyDate;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createDate;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setSpecifications(String specifications) 
    {
        this.specifications = specifications;
    }

    public String getSpecifications() 
    {
        return specifications;
    }
    public void setPrice(BigDecimal price) 
    {
        this.price = price;
    }

    public BigDecimal getPrice() 
    {
        return price;
    }
    public void setPlace(String place) 
    {
        this.place = place;
    }

    public String getPlace() 
    {
        return place;
    }
    public void setManufacturer(String manufacturer) 
    {
        this.manufacturer = manufacturer;
    }

    public String getManufacturer() 
    {
        return manufacturer;
    }
    public void setManufacturerId(Integer manufacturerId) 
    {
        this.manufacturerId = manufacturerId;
    }

    public Integer getManufacturerId() 
    {
        return manufacturerId;
    }
    public void setDetails(String details) 
    {
        this.details = details;
    }

    public String getDetails() 
    {
        return details;
    }
    public void setModifyDate(Date modifyDate) 
    {
        this.modifyDate = modifyDate;
    }

    public Date getModifyDate() 
    {
        return modifyDate;
    }
    public void setCreateDate(Date createDate) 
    {
        this.createDate = createDate;
    }

    public Date getCreateDate() 
    {
        return createDate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("type", getType())
            .append("specifications", getSpecifications())
            .append("price", getPrice())
            .append("place", getPlace())
            .append("manufacturer", getManufacturer())
            .append("manufacturerId", getManufacturerId())
            .append("details", getDetails())
            .append("modifyDate", getModifyDate())
            .append("createDate", getCreateDate())
            .toString();
    }
}
